package com.example.qxfw.dataBaseManager.nyzjk.service;

import com.example.qxfw.common.entity.ny.BadCondition;
import com.example.qxfw.common.entity.ny.Goodcondition;
import com.example.qxfw.common.entity.ny.StationInfo;

import java.util.List;

/************************************
 *
 * @author : HuangDeYin Jolly
 * @since : JDK 11
 * @Date : 2023/7/6  星期四   10:46
 * @description : 此类用来
 ***************************************/
public interface TjszService {

    List<BadCondition> selectByIndexId(Long indexId);

    Integer insertBadCondition(BadCondition badCondition);

    Integer updateBadCondition(BadCondition badCondition);

    Integer deleteBadCondition(BadCondition badCondition);

    List<StationInfo> selectStationInfo();

    List<Goodcondition> selectGoodCondition(Long indexId);

    Integer saveGoodCondition(Goodcondition goodcondition);

    Integer updateGoodCondition(Goodcondition goodcondition);

    Integer deleteGoodCondition(Goodcondition goodcondition);

    //根据indexId删除goodcondition
    Integer deleteGoodConditionByIndexId(Long indexId);

    //添加不利条件中的记录
    Integer saveBadCondition(BadCondition badCondition);

    //删除不利条件中的指定记录
    Integer deleteBadConditionByAll(BadCondition badCondition);

    //根据indexId删除badcondition中所有对应记录
    Integer deleteBadConditionByIndexId(Long indexId);

}
